package dao;

import entity.ExamType;
import entity.Question;

import java.util.List;

/**
 * 题库操作
 */




public interface QuestionDao {
	

	Question get(int id);
	

	void save(Question question);
	

	void delete(Question question);
	

	void delete(int id);

	void update(Question question);
	

	List<Question> findAllByPage(int pageNo, int pageSize);
	

	Question findQuestionByExamType(int id, ExamType examType);
	

	int getMaxId();
	

	long getQuestionCount();
}